/* application layout */
html {
    font: 12px Arial, sans-serif;
    margin: 0;
    border: 0;
    overflow: auto;
}

body {
    min-width: 1000px;
    margin: 0 0 0 0;
    overflow: auto;
}

input {
    border: 1px solid #999999;
}

textarea {
    border: 1px solid #999999;
}

#header {
    position: relative;
    height: 30px;
    width: 100%;
    background-color: #003366;
}

#header a {
    color: white;
}

#header img {
    position: absolute;
    top: 0;
}

#user_panel_header {
    position: absolute;
    bottom: 2px;
    right: 2px;
    padding: 2px;
    color: white;
}

#menu_bar {
    position: relative;
    height: 20px;
    width: 100%;
    background-color: #3c78b5;
    float: left;
}

#menu_bar ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

#menu_bar li {
    float: left;
    margin: 0;
    padding: 0;
    height: 20px;
    text-align: center;
    line-height: 1.5em;
}

li.menu_item:hover {
    background-color: #003366;
}

#menu_bar a {
    font-weight: bold;
    color: white;
    font-family: Verdana, Sans-Serif;
    font-size: 10px;
    text-decoration: none;
    padding-right: 1em;
    padding-left: 1em;
}

span.quick_search_label {
    height: 20px;
    background-color: #3c78b5;
    color: white;
    font-family: Verdana, Sans-Serif;
    font-size: 10px;
    font-weight: bold;
    line-height: 2em;
    padding: 0;
    margin: 0;
    margin-right: 5px;
    float: right;
}

input.quick_search_input {
    background-image: url( '../images/search.png' );
    background-repeat: no-repeat;
    background-position: left;
    height: 18px;
    margin: 0;
    margin-right: 10px;
    padding: 0;
    padding-left: 20px;
    float: right;
}

#end_of_bar {
    clear: both;
}

#content {
    overflow: auto;
    width: 100%;
    padding: 0;
}

#footer {
    background-color: #990000;
    color: white;
    margin: 1px 0;
    text-align: center;
    padding: 0.2em;
    line-height: 0.8em;
}

.grid {
    background-color: #FFFFFF;
    border: 1px solid #CCCCCC;
    border-collapse: collapse;
    margin: 10px 10px 10px 10px;
}

.grid th {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 12px;
    text-align: left;

    border: 1px solid #CCCCCC;
    padding: 4px;
    vertical-align: top;

    background-color: #F0F0F0;
    color: black;
}

.grid td {
    border: 1px solid #CCCCCC;
    padding: 4px;
    vertical-align: top;

    color: black;
    font-family: Arial, Sans-Serif;
    font-size: 12px;
}

a {
    color: #003366;
}